package swim.entitybeans;

import java.io.Serializable;
import java.util.Set;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.OneToMany;
import javax.persistence.Table;

@Entity
@Table(name="macroarea")
public class Macroarea implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 4663227476392089285L;

	@Id
	@Column(name="nome_macroarea")
	private String nome;

	@OneToMany(mappedBy="macroarea")
	private Set<Abilita> abilita;
	
	public String getNome() {
		return nome;
	}

	public void setNome(String nome) {
		this.nome = nome;
	}

	public Set<Abilita> getAbilita() {
		return abilita;
	}

	public void setAbilita(Set<Abilita> abilita) {
		this.abilita = abilita;
	}
}
